package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.model;

public class Workorder {
	
	public static final String WORKORDER_TABLE = "cms_workorder";
	public static final String TC_WO_ID = "wo_id";
	public static final String TC_WO_TITLE = "wo_title";
	public static final String TC_RFC_ID = "rfc_id";
	public static final String TC_WO_TYP = "wo_typ";
	public static final String TC_RESPONIBLE = "responsible";
	public static final String TC_DESCRIPTION = "description";
	public static final String TC_AFFECTED_SERVICES = "attected_services";
	public static final String TC_AFFECTED_INFRASTRUCTURES = "affected_infrastructures";
	public static final String TC_PLANNED_START = "planned_start";
	public static final String TC_ACTUAL_START = "actual_start";
	public static final String TC_PLANNED_END = "planned_end";
	public static final String TC_ACTUAL_END = "actual_end";
	public static final String TC_PLANNED_EFFORD = "planned_effort";
	public static final String TC_NOTES = "notes";
	public static final String	TC_WO_STATUS = "wo_status";
	
	private String wo_id;
	private String rfc_id;
	private String wo_title;
	private String wo_typ;
	private String responsible;
	private String description;
	private String affected_services;
	private String affected_infrastructures;
	private String planned_start;
	private String actual_start;
	private String planned_end;
	private String actual_end;
	private String planned_effort;
	private String notes;
	private String wo_status;

	public String getWo_title() {
		return wo_title;
	}
	
	
	public void setWo_title(String wo_title) {
		this.wo_title = wo_title;
	}

	public String getAffected_infrastructures() {
		return affected_infrastructures;
	}


	public void setAffected_infrastructures(String affected_infrastructures) {
		this.affected_infrastructures = affected_infrastructures;
	}


	public String getWo_id() {
		return wo_id;
	}


	public void setWo_id(String wo_id) {
		this.wo_id = wo_id;
	}


	public String getRfc_id() {
		return rfc_id;
	}


	public void setRfc_id(String rfc_id) {
		this.rfc_id = rfc_id;
	}


	public String getWo_typ() {
		return wo_typ;
	}


	public void setWo_typ(String wo_typ) {
		this.wo_typ = wo_typ;
	}


	public String getResponsible() {
		return responsible;
	}


	public void setResponsible(String responsible) {
		this.responsible = responsible;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getAffected_services() {
		return affected_services;
	}


	public void setAffected_services(String attected_services) {
		this.affected_services = attected_services;
	}


	public String getPlanned_start() {
		return planned_start;
	}


	public void setPlanned_start(String planned_start) {
		this.planned_start = planned_start;
	}


	public String getActual_start() {
		return actual_start;
	}


	public void setActual_start(String actual_start) {
		this.actual_start = actual_start;
	}


	public String getPlanned_end() {
		return planned_end;
	}


	public void setPlanned_end(String planned_end) {
		this.planned_end = planned_end;
	}


	public String getActual_end() {
		return actual_end;
	}


	public void setActual_end(String actual_end) {
		this.actual_end = actual_end;
	}


	public String getPlanned_effort() {
		return planned_effort;
	}


	public void setPlanned_effort(String planned_effort) {
		this.planned_effort = planned_effort;
	}


	public String getNotes() {
		return notes;
	}


	public void setNotes(String notes) {
		this.notes = notes;
	}


	public String getWo_status() {
		return wo_status;
	}


	public void setWo_status(String wo_status) {
		this.wo_status = wo_status;
	}


	@Override
	public String toString() {
		return "Wo id: "+ this.wo_id +" Titel: "+this.wo_title +" Status: "+ this.wo_status ;
	}

	
	
}
